package com.yueya.api.feedback;

import com.jfinal.aop.Duang;
import com.jfinal.kit.JsonKit;
import com.yueya.common.action.ApiController;

import net.sf.json.JSONObject;

/**
 * 反馈意见
 * 
 * @author yangfeng
 * 
 */
public class IFeedbackController extends ApiController {

	public void index() {
	}

	// 增加
	public void add() {
		JSONObject jo = this.getJson();
		renderJson(JsonKit.toJson(Duang.duang(IFeedbackService.class).save(jo, this.getUserId())));
	}

}
